import { forwardRef, Module } from "@nestjs/common";
import { MoonService } from "./moon.service";
import { MichaelModule } from "../michael/micheal.module";
import { MoonController } from "./moon.controller";

@Module({
  imports: [forwardRef(() => MichaelModule)], // 模块前向引用
  controllers: [MoonController],
  providers: [MoonService],
  exports: [MoonService],
})
export class MoonModule {}
